/*
 * Copyright (c) 2013 WDCY Information Technology Co. Ltd
 * www.wdcy.cc
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of
 * WDCY Information Technology Co. Ltd ("Confidential Information").
 * You shall not disclose such Confidential Information and shall use
 * it only in accordance with the terms of the license agreement you
 * entered into with WDCY Information Technology Co. Ltd.
 */
package com.monkey.web.dto.response.user;


import com.monkey.core.web.response.MonkeyResponseDto;

import java.util.ArrayList;
import java.util.List;

/**
 * @author Wu Tianqiang
 */
public class LoadOnlineUserResponseJSONDto extends MonkeyResponseDto {

    private List<OnlineUserJSONDto> onlineUserJSONDtos = new ArrayList<>();

    public LoadOnlineUserResponseJSONDto() {
    }

    public LoadOnlineUserResponseJSONDto addOnlineUser(OnlineUserJSONDto onlineUserJSONDto) {
        this.onlineUserJSONDtos.add(onlineUserJSONDto);
        return this;
    }

    public List<OnlineUserJSONDto> getOnlineUserJSONDtos() {
        return onlineUserJSONDtos;
    }

    public void setOnlineUserJSONDtos(List<OnlineUserJSONDto> onlineUserJSONDtos) {
        this.onlineUserJSONDtos = onlineUserJSONDtos;
    }
}